package com.orange.agent.todayNews;

import com.orange.agent.todayNews.consumer.TodayNewsHttpConsumer;
import com.orange.agent.todayNews.convert.NowNewsConverter;
import com.orange.bean.rebangTody.dto.response.HotNewsRes;
import com.orange.bean.todayNews.dto.request.NowNewsReq;
import com.orange.bean.todayNews.dto.response.NowNewsRes;
import com.orange.common.base.entity.RequestData;
import com.orange.common.base.entity.ResponseData;
import com.orange.framework.consumer.annotation.ConsumerClient;
import com.orange.framework.consumer.annotation.HttpMapping;

/**
 * 新闻类Api
 *
 * @Author YWF
 * @Date 2025/9/3 15:55
 */
@ConsumerClient(consumerClass = TodayNewsHttpConsumer.class)
public interface TodayNewsAgentApi {


    @HttpMapping(transCode = "NEWS_NOW_QUERY", convert = NowNewsConverter.class)
    ResponseData<NowNewsRes> getNowNewsList(RequestData<NowNewsReq> requestData);

}
